package com.cuijq.ms.template.v3;

/**
 * @author by CuiJQ
 * @Classname AClass
 * @Description AClass Description
 * @Date 2021/5/28 20:32
 */
public class AClass {

  public static void main(String[] args) {
    //A 中注入 B
    //b 的方法中调用
    BClass b = new BClass();
    b.process(
        new ICallback() {
          //回调对象
          @Override
          public void methodToCallback() {
            System.out.println("Call xxxxx back me.");
          }
        });
  }
}
